//
//  EffVehicleList.m
//  StarOrangeStaff
//
//  Created by lshenrong on 2020/7/14.
//  Copyright © 2020 lshenrong. All rights reserved.
//

#import "EffVehicleListAPI.h"

@interface  EffVehicleListAPI ()

@property (nonatomic,assign) NSInteger pageSize;
@property (nonatomic,assign) NSInteger pageNum;
@property (nonatomic,copy) NSString *effCarType;

@end


@implementation EffVehicleListAPI

- (instancetype)initWithPageSize:(NSInteger)pageSize
                         pageNum:(NSInteger)pageNum effCarType:(NSString *)effCarType{
    
    if (self = [super init]) {
          [self testDataAPI];
      }
      return self;
    
}



- (NSString *)requestUrl {
    return @"message/car/queryEffCarList";
}

- (void)testDataAPI {
    self.pageNum = 1;
    self.pageSize = 5;
    self.effCarType = @"1";
}


- (id)requestAppendArgument{


    
    return @{
            @"pageNum":@(self.pageNum),
            @"pageSize":@(self.pageSize),
            @"effCarType":self.effCarType,

            };

}


@end
